home *** CD-ROM | disk | FTP | other *** search
/ Softwarová Záchrana 3 / Softwarova-zachrana-3.bin / Xteq X-Setup / xqdcXSP-Setup-EN.exe / {app} / plugins / XQ WinXP Desktop CleanWiz.xpl < prev    next >
Text File  |  2004-02-05  |  1KB  |  47 lines

  1. "FILE"="Xteq Systems X-Setup Plugin 6.0"
  2. "TYPE"="6"
  3. "COUNT"="1"
  4. "UIPATH 1"="Appearance\Desktop\Options"
  5. "UIPATH 2"="Appearance\Taskbar"
  6. "NAME"="Desktop Clean-Up Wizard"
  7. "OSVERSION"="0000011"
  8. "VERSION"="1.00"
  9. "LANGUAGE"="VBScript"
  10. "TEXT 1"="Allow Desktop Clean-Up Wizard to be run"
  11. "DESCRIPTION 1"="Windows XP and upwards version of Windows contain the "Desktop Clean-up Wizard" that is normally run every 60 days."
  12. "DESCRIPTION 2"="When it starts, if will search for icons on your desktop that haven't been used for a long time and offer you to delete them. When this happens, it appears as a small icon inside your tray notification area and stays there until you disable it."
  13. "DESCRIPTION 3"="With this setting, you can directly disable it so it won't get on your nerves."
  14. "AUTHOR"="Xteq Systems"
  15. "CONTACTURL"="http://www.xteq.com"
  16. "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
  17. "COMMENT 1"=" "
  18.  
  19.  
  20. sV1="HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Desktop\CleanupWiz\NoRun" 'DW
  21.  
  22. Sub Plugin_Initialize 
  23.  i=RegReadValue(sV1)
  24.  if i=0 or IsEmpty(i) then SetUIElement 1,true
  25. End Sub
  26.  
  27. Sub Plugin_CheckData(ElementIndex)
  28. End Sub
  29.  
  30. Sub Plugin_Apply(ElementIndex,ElementSubIndex)
  31.  valToSet=0
  32.  
  33.  b=GetUIElement(1)
  34.  if b=true then
  35.     valToSet=0
  36.  else
  37.     valToSet=1
  38.  end if
  39.  
  40.  Call RegWriteValue(sv1,valToSet,2)
  41.  
  42.  Call Logoff()
  43. End Sub
  44.  
  45. Sub Plugin_Terminate 
  46. End Sub
  47.